﻿using Google.Protobuf;
using Qqprotobuf;
using System;

namespace TestProtobuf
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
            DeviceInformation deviceInformation = new DeviceInformation()
            {
                AndroidId = ByteString.CopyFromUtf8("fuck your mother"),
            };
            ByteString data = deviceInformation.ToByteString();
            DeviceInformation information = DeviceInformation.Parser.ParseFrom(data);
            Console.WriteLine(information.AndroidId.ToStringUtf8());
        }
    }
}